<?php
///**
//* @package Joomla
//* @version 1.0
//* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
//* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
//* Joomla! is free software and parts of it may contain or be derived from the
//* GNU General Public License or other free or open source software licenses.
//* See COPYRIGHT.php for copyright notices and details.
//*/
//
///** ensure this file is being included by a parent file */
//defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
//
///**
// * @package HelloWorld
// */
//class helloScreens {
//	/**
//	 * Static method to create the template object
//	 * @return patTemplate
//	 */
//	function &createTemplate() {
//		global $option, $mosConfig_absolute_path;
//		require_once( $mosConfig_absolute_path . '/includes/patTemplate/patTemplate.php' );
//
//		$tmpl =& patFactory::createTemplate( $option, true, false );
//		$tmpl->setRoot( dirname( __FILE__ ) . '/tmpl' );
//
//		return $tmpl;
//	}
//	/**
//	 * A simple message
//	 */
//	function helloWorld() {
//       // import the body of the page
//        $tmpl =& helloScreens::createTemplate();
//        $tmpl->setAttribute( 'body', 'src', 'helloworld.html' );
//
//        $tmpl->displayParsedTemplate( 'form' );
//	}
//	/**
//	 * A polite hello
//	 * @param string The name of a peron
//	 */
//	function politeHello( $name ) {
//       // import the body of the page
//        $tmpl =& helloScreens::createTemplate();
//        $tmpl->setAttribute( 'body', 'src', 'politehello.html' );
//
//        $tmpl->addVar( 'body', 'name', $name );
//
//        $tmpl->displayParsedTemplate( 'form' );
//	}
//}
?>
